package pers.fjl.common.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author fangjiale
 * @since 2021-01-07
 */
@Data
public class Department extends Model<Department> {

    private static final long serialVersionUID = 1L;

    /**
     * 部门编号
     */
    @TableId(value = "did", type = IdType.AUTO)
    private String did;

    /**
     * 部门名称
     */
    private String dname;

    /**
     * 人数
     */
    private Integer population;

    /**
     * 主管
     */
    private String director;

}
